import Joi from 'joi'

// 验证新增信息 nick 必传字符串
export const addJudg = Joi.object({
})

// 验证编辑信息 nick 必传字符串
export const putJudg = Joi.object({
  tableId:Joi.number().required(),
  device_file_version: Joi.string().allow(''),
  check_result: Joi.string().allow(''),
  check_result_remarks: Joi.string().allow(''),
  check_user_id: Joi.string().allow(''),
  jiaoyanjieguo: Joi.string().allow(''),
  })

